package cn.xeblog.forward.handler;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @author eleven
 * @date 2024/10/31 14:47
 * @apiNote
 */
public class ProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {

    public ProtocolFrameDecoder() {
        this(1024, 16, 4, 0, 0);
    }
    public ProtocolFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
